package vo;

import po.CourseAssistPO;
import po.CourseBasicPO;
import po.CoursePublishPO;
import datasv.courseProduce_datasv.CourseProduceDatasv;
import datasv.datafactorysv.CourseProduceDatasvFactory;

public class CourseVO {
	
	private CourseBasicPO courseBasicPO;
	private CoursePublishPO coursePublishPO;
	private CourseAssistPO courseAssistPO;
	public CourseVO(String courseID) {
		CourseProduceDatasv coursePD = new CourseProduceDatasvFactory().create();
		courseBasicPO = coursePD.getCourseBasic(courseID);
		courseAssistPO = coursePD.getCourseAssist(courseID);
		coursePublishPO = coursePD.getCoursePublish(courseID);
	}
	public String getCourseID(){
		return courseBasicPO.getCourseId();
	}
	public CourseBasicPO getCourseBasicPO() {
		return courseBasicPO;
	}
	public CoursePublishPO getCoursePublishPO() {
		return coursePublishPO;
	}
	public CourseAssistPO getCourseAssistPO() {
		return courseAssistPO;
	}
	
	
}
